import React from "react";
import PropTypes from "prop-types";

const PlaceHolder = ({ text }) =>
  <div
    style={{
      color: "#999",
      textAlign: "center",
      height: "0.6rem",
      lineHeight: "0.6rem",
      width: "100%",
      marginTop: "10px"
    }}
  >
    {text}
  </div>;

PlaceHolder.propTypes = {
  text: PropTypes.string
};
export default PlaceHolder;
